home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Linux
/
Kubuntu 8.10
/
kubuntu-8.10-desktop-i386.iso
/
casper
/
filesystem.squashfs
/
var
/
lib
/
dpkg
/
info
/
lilo.config
< prev
next >
Wrap
Text File
|
2008-05-15
|
719b
|
49 lines
#!/bin/sh
set -e
action=$1
version=$2
# debconf
. /usr/share/debconf/confmodule
db_version 2.0
isfresh=0
have_to_run=0
if [ ! -f /etc/lilo.conf ]; then
isfresh=1
db_text high lilo/new-config || true
db_go
else
# Check for deprecated PATH. Bug#267538
if grep -q "^bitmap=/usr/share/lilo/contrib" /etc/lilo.conf; then
db_beginblock
db_text high lilo/bad_bitmap || true
db_endblock
db_go
fi
fi
if [ x"$isfresh" = x"0" ]; then
if [ -e /boot/boot.b ]; then
have_to_run=1
db_beginblock
db_text high lilo/upgrade || true
db_endblock
db_go
fi
fi
#db_set lilo/runme = false
if [ x"$have_to_run" != x"0" ]; then
db_beginblock
db_input high lilo/runme || true
db_endblock
db_go
fi
exit 0